package com.eric.service;
import cn.dev33.satoken.util.SaResult;
import com.eric.domain.dto.WarehouseInfoDto;
import com.eric.domain.po.Warehouseinfo;
import com.github.yulichang.base.MPJBaseService;

/**
 * <p>
 * 仓库信息表 服务类
 * </p>
 *
 * @author 新哥
 * @since 2024-03-12
 */
public interface IWarehouseinfoService extends MPJBaseService<Warehouseinfo> {

    SaResult saveOneWarehouseInfoService(WarehouseInfoDto warehouseinfoDto);

    SaResult deleteOneWarehouseInfoService(Integer id);

    SaResult modifyOneWarehouseInfoService(WarehouseInfoDto warehouseinfoDto);

    SaResult getAllWarehouseInfoListService(Integer pageCount,Integer pageSize);

    SaResult getOneWarehouseInfoListService(Integer id);

    SaResult getAllByAddressService(String address);

    SaResult getAllByNameService(String name);

    SaResult getAllByContactService(String contact);
}
